body
{
	background-color: #000000;
	opacity: 0;
	background: black;
	transition: background-color 0.5s ease, opacity 0.5s ease;
	margin:0;
}

html.fade-in {
	background-color: var(--bodyBackgroundColorScheme);
	opacity: 1;
	
}

body.fade-in {
	background-color: var(--bodyBackgroundColorScheme);
	opacity: 1;
	
}

body.fade-out {
	background-color: #000000;
	opacity: 0;
}

::-moz-selection { /* Code for Firefox */
  color: black;
  background: var(--highlightTextColorScheme);
}

::selection {
  color: black;
  background: var(--highlightTextColorScheme);
}

@font-face {
  font-family: 'AvenirLight';
  src: url('../Fonts/Avenir Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'LuloClean';
  src: url('../Fonts/Lulo Clean One Bold.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


.presentationDiv 
{
	/*border: 10px ridge #f00;*/
	background-color: transparent;
	justify-content: center;
	justify-items: center;
	padding: 0.5rem;
	display: flex;
	flex-direction: column;
	/*width: 820px;*/
	max-width: 820px;
	width: max(300px,78%);
	margin: auto;
}

.presentationDiv h1
{
	text-align: center;
	justify-content: center;
	justify-items: center;
	color: var(--headerColorScheme);
	/*font-size: 65px;*/
	font-size: clamp(35px, 6.7vw, 60px);
	font-family: arial;
	font-family: 'LuloClean';
}

.presentationDiv p
{
	text-align: center;
	justify-content: center;
	justify-items: center;
	color: var(--textColorScheme);
	/*font-size: 24px;*/
	font-size: clamp(16px, 6.7vw, 24px);
	font-family: 'AvenirLight';
	line-height: 2.8rem;
	letter-spacing:5px;
	margin-top:0;
}

.h1Generic
{
	text-align: center;
	color: var(--headerColorScheme);
	/*font-size: 42px;*/
	padding-top: 28px;
	font-size: clamp(24px, 6.7vw, 42px);
	font-family: 'LuloClean';
}



.presentationPhotoDiv 
{
	background-color: var(--divBackgroundColorScheme);
	/*padding: 0.5rem;*/
	align-items: center;
	display: flex;
	flex-direction: column;
	/*width: 820px;*/
	max-width: 820px;
	width: max(300px,78%);
	/*height: 670px;*/
	margin-left: auto;
	margin-right: auto;
	margin-top: 80px;
	
	box-shadow: none;
	transition: box-shadow 0.3s ease;
}

.presentationPhotoDiv:hover
{	
	box-shadow: 0 0 10px 3px var(--shadowColorScheme);
}


.presentationPhotoDiv p
{
	text-align: center;
	color: var(--textColorScheme);
	font-size: var(--presentationPhotoFontSize);
	/*font-size: clamp(12px, 6.7vw, 15px);*/
	font-family: 'AvenirLight';
	/*margin: 150px;*/
	margin-left: clamp(50px, 15%,150px);
	margin-right: clamp(50px, 15%,150px);
	line-height: 1.9rem;
}


.presentationPhotoDiv img
{
	width: var(--presentationPhotoSize);
	height: var(--presentationPhotoSize);
	
	/*width: clamp(150px, 30%,250px);*/
	/*height:clamp(150px, 30%,250px);*/

	/*margin-left: 150px;*/
	/*margin-right: 150px;*/
	
	margin-left: auto;
	margin-right: auto;
	
	margin-top: 45px;
	margin-bottom: 25px;
}

.linkColor
{
  color: var(--textColorScheme);
  background-color: transparent;
  transition: color 0.5s ease;
}

.linkColor:hover
{
	color: var(--highlightTextColorScheme);
}

.knowledgeDiv 
{
	background-color:  var(--divBackgroundColorScheme);
	/*padding: 0.5rem;*/
	display: flex;
	flex-direction: column;
	/*align-items: center;*/
	/*width: 820px;*/
	max-width: 820px;
	width: max(300px,78%);
	margin-left: auto;
	margin-right: auto;
	margin-top: 40px;
	
	padding-bottom: 40px;
	box-shadow: none;
	transition: box-shadow 0.3s ease;
}

.knowledgeDiv:hover
{	
	box-shadow: 0 0 10px 3px var(--shadowColorScheme);
}

.knowledgeDiv h1
{
	text-align: center;
	color: var(--headerColorScheme);
	/*font-size: 42px;*/
	font-size: clamp(24px, 6.7vw, 42px);
	font-family: 'LuloClean';
	
	margin-bottom: 8%;
}


.knowledgeDiv p
{
	text-align: center;
	color: var(--textColorScheme);
	/*font-size: 24px;*/
	font-size: clamp(18px, 6.7vw, 24px);
	font-family: 'AvenirLight';
	letter-spacing: 0.18rem;
	margin-top:0px;
	margin-bottom:10px;
}

.knowledgeColumn 
{
	display: flex;
	flex-direction: row;
	align-items: center;
}


.contactMeDiv 
{
	background-color: var(--divBackgroundColorScheme);
	align-items: center;
	justify-items: center;
	display: flex;
	flex-direction: column;
	/*width: 820px;*/
	max-width: 820px;
	width: max(300px,78%);
	max-height:631px;
	/*height: 631px;*/
	margin-left: auto;
	margin-right: auto;
	margin-top: 80px;
	margin-bottom: 100px;
	box-shadow: none;
	transition: box-shadow 0.3s ease;
}

.contactMeDiv:hover
{	
	box-shadow: 0 0 10px 3px var(--shadowColorScheme);
}

.contactMeDiv h1
{
	text-align: center;
	color: var(--headerColorScheme);
	font-size: var(--contactMeH1FontSize);
	/*font-size: clamp(20px, 6.7vw, 24px);*/
	font-family: 'AvenirLight';
	
	margin-top: min(180px,9vw);
	margin-bottom: min(40px,2vw);
}

.contactMeDiv p
{
	color: var(--textColorScheme);
	font-size: var(--contactMeFontSize);
	font-family: 'AvenirLight';
	text-align: center;
	letter-spacing: 0.05em;
	line-height: 1.9em;
	margin-bottom: 0.01em;
	margin-top: 0.01em;
}


.error404 
{
	background-color: var(--divBackgroundColorScheme);
	/*width: 820px;*/
	display: flex;
	flex-direction: column;
	
	justify-content: center;
	align-items: center;
	max-width: 500px;
	width: max(300px,78%);
	aspect-ratio:1;
	margin-left: auto;
	margin-right: auto;
	box-shadow: none;
	transition: box-shadow 0.3s ease;
}

.error404:hover
{	
	box-shadow: 0 0 10px 3px var(--shadowColorScheme);
}

.error404 h1
{
	text-align: center;
	color: var(--headerColorScheme);
	font-size: var(--contactMeH1FontSize);
	/*font-size: clamp(20px, 6.7vw, 24px);*/
	font-family: 'AvenirLight';
	
	/*margin-top: min(180px,9vw);*/
	/*margin-bottom: min(40px,2vw);*/
}

.error404 p
{
	color: var(--textColorScheme);
	font-size: var(--contactMeFontSize);
	font-family: 'AvenirLight';
	text-align: center;
	letter-spacing: 0.05em;
	line-height: 1.9em;
	margin-bottom: 0.01em;
	margin-top: 0.01em;
}




.pHighlight
{
	color: var(--textColorScheme);
	font-size:  var(--contactMeFontSize);
	font-family: 'AvenirLight';
	text-align: center;
	letter-spacing: 0.05em;
	line-height: 1.9em;
	margin-bottom: 0.01em;
	margin-top: 0.01em;
	text-decoration: underline;
	transition: color 0.3s ease;
	background-color: transparent;
	border: 0;
}

.pHighlight:hover
{
	color: var(--highlightTextColorScheme);
	cursor: pointer;
}

.svgRow
{
	display:flex;
	flex-direction: row;
	
	margin-bottom: min(180px,9vw);
}

.svgRow img
{
	padding: 8px 4px;
	filter: none;
	transition: filter 0.4s ease;
}


.divTestSVG
{
	display:flex;
	width: 32px;
	height: 32px;
}

.svgRow svg
{
	padding: 8px 4px;
	fill: var(--svgColorScheme);
	filter: none;
	transition: fill 0.5s ease;
	width: var(--svgSize);
	height: var(--svgSize);
}

.svgRow svg:hover
{
	padding: 8px 4px;
	fill:  var(--svgHoverColorScheme);
}


.structureDiv
{
	min-height: 100vh;
	display: grid;
	grid-template-rows: 1fr auto;
}



.testWebGPU
{
	display: flex;
	flex-direction: row;
	background-color: var(--divBackgroundColorScheme);
	align-items: center;
	justify-content: center;
	width: 940px;
	height: 631px;
	margin: auto;
	padding: auto;
	
	z-index : 0;
}


.testWebGPUCanvas
{
	position: absolute;
	width: 940px;
	height: 631px;
	z-index : 0;
}



.gameSectionDiv 
{
	background-color: var(--divBackgroundColorScheme);
	/*padding: 0.5rem;*/
	display: flex;
	flex-direction: column;
	/*width: 1500px;*/
	max-width: 1500px;
	width: max(300px,78%);
	/*height: 670px;*/
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	margin-bottom: 80px;
	padding: 20px;
	
	box-shadow: none;
	transition: box-shadow 0.3s ease;
}

.gameSectionDiv:hover
{	
	box-shadow: 0 0 10px 3px var(--shadowColorScheme);
}


.gameSectionDiv h1
{
	text-align: center;
	color: var(--textColorScheme);
	font-size: 30px;
	font-family: Helvetica, 'AvenirLight', Arial;
	/*margin: 150px;*/
	/*margin-left: 130px;*/
	margin-left: clamp(30px, 6.7vw, 130px);
	/*margin-right: 130px;*/
	margin-right: clamp(30px, 6.7vw, 130px);
	line-height: 1.9rem;
}


.gameSectionDiv h2
{
	text-align: left;
	color: var(--secondHeaderColorScheme);
	font-size: 22px;
	font-family: 'AvenirLight';
	/*margin: 150px;*/
	/*margin-left: 130px;*/
	margin-left: clamp(30px, 6.7vw, 130px);
	/*margin-right: 490px;*/
	/*margin-right: 130px;*/
	margin-right: clamp(30px, 6.7vw, 130px);
	margin-bottom: 0;
	line-height: 1.9rem;
}

.gameSectionDiv h2 a
{
	color: var(--secondHeaderColorScheme);
	font-size: 22px;
	font-family: 'AvenirLight';
	text-align: left;
	margin-bottom: 0;
	line-height: 1.9rem;
	text-decoration: underline;
	transition: color 0.3s ease;
	background-color: transparent;
	border: 0;
}


.gameSectionDiv h2 a:hover
{
	color: var(--buttonHighlightColorScheme);
	cursor: pointer;
}


.gameSectionDiv p
{
	text-align: left;
	color: var(--textColorScheme);
	font-size: 21px;
	font-family: 'AvenirLight';
	/*margin: 150px;*/
	/*margin-left: 130px;*/
	margin-left: clamp(30px, 6.7vw, 130px);
	margin-top: 0px;
	/*margin-right: 490px;*/
	/*margin-right: 130px;*/
	margin-right: clamp(30px, 6.7vw, 130px);
	margin-bottom: 20px;
	line-height: 1.9rem;
}

.gameSectionDiv math
{
	text-align: left;
	color: var(--textColorScheme);
	font-size: 26px;
	font-family: 'TimesNewRoman';
	/*margin: 150px;*/
	/*margin-left: 130px;*/
	margin-left: clamp(30px, 6.7vw, 130px);
	margin-right: clamp(30px, 6.7vw, 130px);
	margin-top: 0px;
	margin-right: clamp(30px, 6.7vw, 130px);
	margin-bottom: 20px;
	line-height: 1.9rem;
}

.gameSectionDiv table
{
	border-collapse: collapse;
	border: 1px solid #dddddd;
	text-align: center;
	color: var(--textColorScheme);
	font-size: 21px;
	font-family: 'TimesNewRoman';
	/*margin: 150px;*/
	/*margin-left: 130px;*/
	margin-right: clamp(30px, 6.7vw, 130px);
	margin-left: clamp(30px, 6.7vw, 130px);
	margin-top: 0px;
	margin-bottom: 20px;
	line-height: 1.9rem;
	background-color: #202020;
}

.gameSectionDiv td
{
	border: 1px solid #dddddd;
}

.gameSectionDiv th
{
	border: 1px solid #dddddd;
}

.gameSectionDiv a
{
	font-size: 21px;
	font-family: 'AvenirLight';
	
}

.gameSectionDiv li
{
	text-align: left;
	color: var(--textColorScheme);
	font-size: 21px;
	font-family: 'AvenirLight';
	/*margin: 150px;*/
	/*margin-left: 130px;*/
	margin-left: clamp(30px, 6.7vw, 130px);
	margin-top: 0px;
	/*margin-right: 130px;*/
	margin-right: clamp(30px, 6.7vw, 130px);
	margin-bottom: 0px;
	line-height: 1.9rem;
}

.gameSectionDiv img
{
	display: block;
	justify-items: center;
	align-items: center;
	/*margin-left: 130px;*/
	margin-left: clamp(30px, 6.7vw, 130px);
	/*margin-right: 130px;*/
	margin-right: clamp(30px, 6.7vw, 130px);
	margin-top: 20px;
	margin-bottom: 25px;
	
	
}

/*.gameSectionDiv video
{
	display: block;
	justify-items: center;
	margin-left: clamp(30px, 6.7vw, 130px);
	margin-right: clamp(30px, 6.7vw, 130px);
	margin-top: 20px;
	margin-bottom: 25px;
	aspect-ratio: 16/9;
}*/


.gameSectionDiv iframe
{
	display: block;
	justify-items: center;
	/*margin-left: 130px;*/
	margin-left: clamp(30px, 6.7vw, 130px);
	/*margin-right: 130px;*/
	margin-right: clamp(30px, 6.7vw, 130px);
	margin-top: 20px;
	/*height: 656px;*/
	aspect-ratio: 16/9;
}


.glCanvasContainer
{
	position: relative;
	display: inline-block;
	/*margin-left: 130px;*/
	margin-left: clamp(30px, 6.7vw, 130px);
	/*margin-right: 130px;*/
	margin-right: clamp(30px, 6.7vw, 130px);
	aspect-ratio:16/9;
}


.glCanvas
{
	display: block;
	width:100%;
	aspect-ratio:16/9;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 20px;
}

.backgroundGL
{
	/*border: 1px solid #333;*/
	background-color: transparent;
	position: fixed;       /* Makes it stick to the screen */
	will-change: contents;
	top: 0;
    left: 0;
	width: 100vw;
	height: 100vh;
	

	z-index: -1;
}


footer
{
	background-color: var(--divBackgroundColorScheme);
	display: flex;
	width: 100%;
	min-height: 69px;
	/*height: var(--navigationBarHeight);*/
	z-index: 998;
	box-shadow: 1px 1px 0.5em #0A0A0A;
	
	justify-content: space-between;
	padding-top: 30px;
	padding-bottom: 30px;
}


footer p
{
	color: var(--buttonColorScheme);
	font-family: Montserrat, sans-serif;
	/*font-size: clamp(1rem, 2vw, 3rem);*/
	font-size: var(--footerFont);
}

.footerHighlight
{
	color: var(--buttonColorScheme);
	font-family: Montserrat, sans-serif;
	font-size: var(--footerFont);
	text-decoration: underline;
	transition: color 0.3s ease;
	background-color: transparent;
	border: 0;
}

.footerHighlight:hover
{
	color: var(--highlightTextColorScheme);
	cursor: pointer;	
}

.footerlinkColor
{
	color: var(--buttonColorScheme);
	background-color: transparent;
	transition: color 0.5s ease;
	font-family: Montserrat, sans-serif;
	font-size: var(--footerFont);
}

.footerlinkColor:hover
{
	color: var(--highlightTextColorScheme);
}

.beforeAfter
{
	position: relative;
	margin-left: auto;
    margin-right: auto;
	cursor: ew-resize;
}


.beforeAfterButton 
{
	background-color: var(--secondHeaderColorScheme);
	color: #FFFFFF;
	position: absolute;
	top: 50%;
	left: 50%;
	border-radius: 50%;
	border: none;
	width:2%;
	aspect-ratio:1;
	
	cursor: ew-resize;
	z-index: 2;
	transform: translate(-50%, -50%);
	
}

.beforeAfterBar
{
	position: absolute;
	background-color: var(--secondHeaderColorScheme);
	top: 0;
	left: 50%;
	border: none;
	width:0.5%;
	height: 100%;
	
	cursor: ew-resize;
	z-index: 2;
	
	transform: translate(-50%, 0);
}


.beforeAfterImageContainer
{
	width: 100%;
	height: 100%;
	position:relative;
}


.beforeContainer
{
	overflow:hidden;
	width:50%;
	height:100%;
	position: absolute;
	z-index: 1;
	top:0;
	left:0;
}


.beforeAfterImageContainer .testImage
{
	object-fit:cover;
	display:block;
	margin:0;
	height:100%;
}


.beforeAfterImageContainer .testAfter
{
	display:block;
	margin:0;
	width:100%;
	height:100%;
}